package top.chmin.project.cloud.sys.dict.info;

import java.util.List;
import top.chmin.project.cloud.common.Page;
import org.springframework.web.bind.annotation.RestController;
import jakarta.annotation.Resource;



/**
 * chmin
 * 2024-01-26 14:02:35
 * cloud-code
 */
@RestController
public class DictInfoController implements
/* append $controllerSelectOptionRestAppender$ */
        DictInfoSaveRest,
        DictInfoSelectRest,
        DictInfoUpdateRest,
        DictInfoDeleteRest,
        DictInfoPageRest {

    @Resource
    private DictInfoService dictInfoService;

    @Override
    public int save(DictInfoSaveRest.P p) {
        return dictInfoService.save(p);
    }

    @Override
    public DictInfoSelectRest.R select(DictInfoSelectRest.P p) {
        return dictInfoService.select(p);
    }

    @Override
    public int update(DictInfoUpdateRest.P p) {
        return dictInfoService.update(p);
    }

    @Override
    public int delete(DictInfoDeleteRest.P p) {
        return dictInfoService.delete(p);
    }

    @Override
    public Page<DictInfoPageRest.R> page(DictInfoPageRest.P p) {
        return dictInfoService.page(p);
    }
    /* append $controllerSelectOptionMethodAppender$ */
}
